package com.sunwayhorizo.health.hl7.vocabulary;

import com.sunwayhorizo.health.hl7.datatypes.CS;
import com.sunwayhorizo.health.hl7.datatypes.common.InternalFactory;
import com.sunwayhorizo.health.hl7.rim.Employee;
import com.sunwayhorizo.health.hl7.rim.Patient;
import com.sunwayhorizo.health.hl7.rim.Role;

public enum RoleIICode
{
    //patient ii
    PATIENTID("患者主索引id",Patient.class), 
    ADMISSIONNO("入院号",Patient.class), 
    MEDICALCARD("就诊卡号",Patient.class), 
    CHANGANMEDICARE("长安医保",Patient.class,"2"), 
    RAILWAYMEDICARE("铁路医保",Patient.class,"1"), 
    SHIJIAZHUANGMEDICARE("石家庄医保",Patient.class,"3"), 
    COMMERCIALINSURANCE("商业保险",Patient.class,"4"),  
    SOCIALINSURANCE("社会保险",Patient.class,"5"),     
    
    //employee ii
    EMPLOYEEID("员工号",Employee.class), 
    
    
    //Role ii 
    DEPTCODE("科室编码",Role.class), 
    
    ;
    private CS cs;
    private String description;
    private Class<?> clazz;
    private String conceptCode;

    public CS cs()
    {
        return cs;
    }


    private RoleIICode()
    {
        this.cs = InternalFactory.newCS(this.toString());
    }


    private RoleIICode(String description)
    {
        this.description = description;
        this.cs = InternalFactory.newCS(this.toString());
    }


    private RoleIICode(String description, Class<?> clazz)
    {
        this.description = description;
        this.cs = InternalFactory.newCS(this.toString());
        this.clazz = clazz;
    }

    private RoleIICode(String description, Class<?> clazz,String conceptCode)
    {
        this.description = description;
        this.cs = InternalFactory.newCS(this.toString());
        this.clazz = clazz;
        this.conceptCode=conceptCode;
    }

    public String getDescription()
    {
        return description;
    }


    public Class<?> getClazz()
    {
        return clazz;
    }


    public void setConceptCode(String conceptCode)
    {
        this.conceptCode = conceptCode;
    }


    public String getConceptCode()
    {
        return conceptCode;
    }

}
